home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
buttons
/
selvb25
/
selecmdi.frm
< prev
next >
Wrap
Text File
|
1996-01-17
|
3KB
|
122 lines
VERSION 2.00
Begin MDIForm MDIForm1
Caption = "Selector Custom Control Demonstration"
ClientHeight = 5535
ClientLeft = 1500
ClientTop = 2085
ClientWidth = 8760
Height = 6225
Icon = SELECMDI.FRX:0000
Left = 1440
LinkTopic = "MDIForm1"
Top = 1455
Width = 8880
WindowState = 2 'Maximized
Begin Menu mnu
Caption = "&Demos"
Index = 0
Begin Menu demo
Caption = "&Captions Properties"
Index = 0
End
Begin Menu demo
Caption = "&Frame & Background Properties"
Index = 1
End
Begin Menu demo
Caption = "&Knob Properties"
Index = 2
End
Begin Menu demo
Caption = "&Marks Properties"
Index = 3
End
Begin Menu demo
Caption = "&Selection Properties"
Index = 4
End
Begin Menu demo
Caption = "-"
Index = 5
End
Begin Menu demo
Caption = "&Examples"
Index = 6
End
End
Begin Menu mnu
Caption = "&Help"
Index = 1
Begin Menu help
Caption = "&About Selector"
Index = 0
End
Begin Menu help
Caption = "&Selector Help"
Index = 1
End
Begin Menu help
Caption = "All GMS Controls"
Index = 2
End
End
Begin Menu mnu
Caption = "&Order"
Index = 2
End
Begin Menu mnu
Caption = "E&xit"
Index = 3
End
End
Sub demo_Click (index As Integer)
Select Case index
Case 0 'caption
CaptionDemo.Show
Case 1 'Frame & background
framedemo.Show
Case 2 'Knob
Knobdemo.Show
Case 3 'Mark
MarkDemo.Show
Case 4 'selection
SelectionDemo.Show
Case 6 'examples
examples.Show
End Select
End Sub
Sub help_Click (index As Integer)
Select Case index
Case 0
about.Show
Case 1
i = Shell("WINHELP selector.hlp", 1)
Case 2
i = Shell("WINHELP instrmlb.hlp", 1)
End Select
End Sub
Sub MDIForm_Load ()
about.Show
End Sub
Sub mnu_Click (index As Integer)
Select Case index
Case 2
i = Shell("WINHELP order.hlp", 1)
Case 3
End
End Select
End Sub